package com.vmove.childtrain.db.entity;

import com.j256.ormlite.dao.ForeignCollection;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.field.ForeignCollectionField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * 设置表
 */
@DatabaseTable(tableName = "tb_setting")
public class Setting implements Serializable
{
	//表中各个字段的名称
	public static final String COLUMNNAME_ID = "id";
	public static final String COLUMNNAME_NAME = "settingName";
	public static final String COLUMNNAME_VALUE = "settingValue";

	public static final String NAME_PADID="padId";
	public static final String NAME_INTERVAL="yanShi";
	public static final String NAME_IS_RANDOM_REPEAT="isRandomRepeat";//随机是否可重复

	@DatabaseField(generatedId = true,columnName = COLUMNNAME_ID)
	private int id;

	@DatabaseField(columnName = COLUMNNAME_NAME)
	private String settingName;

	@DatabaseField(columnName = COLUMNNAME_VALUE)
	private String settingValue;

	public Setting()
	{
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getSettingName() {
		return settingName;
	}

	public void setSettingName(String settingName) {
		this.settingName = settingName;
	}

	public String getSettingValue() {
		return settingValue;
	}

	public void setSettingValue(String settingValue) {
		this.settingValue = settingValue;
	}
}
